package org.snia.server.ejb.dataslice;

import org.snia.cdmi.model.MetaSliceData;

public interface RemoteDataSliceOperation {

	public void createDataSlice(String uuid, byte[] data);
	
	/**
	 * 删除数据块
	 * 
	 * @param uuid 数据块的MD5值的Base64加密值
	 */
	public void deleteDataSlice(String uuid);
		
	public void deleteMetaSliceData(String uuid);

	public void createMetaSliceData(MetaSliceData meta);
	
	public MetaSliceData getMetaSliceData(String uuid);
	
	public void updateMetaSliceData(MetaSliceData meta);
	
}
